package com.spic.business.train.experience.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.spic.common.core.annotation.Excel;
import com.spic.common.core.web.domain.BaseEntity;

import javax.validation.constraints.NotNull;

/**
 * 心得体会对象 train_experience
 * 
 * @author spic
 * @date 2021-10-15
 */
public class TrainExperience extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** $column.columnComment */
    @NotNull
    private String fileName;

    /** $column.columnComment */
    @NotNull
    private String fileUrl;

  //培训用户id
    private Long trainUserId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }

    public Long getTrainUserId() {
        return trainUserId;
    }

    public void setTrainUserId(Long trainUserId) {
        this.trainUserId = trainUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fileName", getFileName())
            .append("fileUrl", getFileUrl())

            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
